package com.jianggy.encryption;

/**
 *sm3签名
 *@author jianggy
 *@date 2022/3/8
 *@version 1.0
 **/
public class Sm3Tests {
    public static void main(String[] args) {
        String test = Sm3Util.encryptStr("dsfdsfdsfadsaf");
        System.out.println(test);
        boolean res = Sm3Util.verify("dsfdsfdsfadsaf", "7728b6f3dd3075ad7f2b45d33bbc660c874e259466dd4cabca591a1a4d94377c");
        System.out.println(res);
    }
}
